package com.stylefeng.guns.common.persistence.model;

import java.io.Serializable;

import java.util.Date;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author lsy
 * @since 2017-12-26
 */
@TableName("zy_picture")
public class ZyPicture extends Model<ZyPicture> {

    private static final long serialVersionUID = 1L;

	private Integer id;

    /**
     * 图片上传的原始名称
     */
	private String originalName;
	private String savePath;
	private String saveName;
    /**
     * 上传者
     */
	private String crtUser;
    /**
     * 上传时间
     */
	private Date crtTime;


	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getOriginalName() {
		return originalName;
	}

	public void setOriginalName(String originalName) {
		this.originalName = originalName;
	}

	public String getSavePath() {
		return savePath;
	}

	public void setSavePath(String savePath) {
		this.savePath = savePath;
	}

	public String getSaveName() {
		return saveName;
	}

	public void setSaveName(String saveName) {
		this.saveName = saveName;
	}

	public String getCrtUser() {
		return crtUser;
	}

	public void setCrtUser(String crtUser) {
		this.crtUser = crtUser;
	}

	public Date getCrtTime() {
		return crtTime;
	}

	public void setCrtTime(Date crtTime) {
		this.crtTime = crtTime;
	}

	@Override
	protected Serializable pkVal() {
		return this.id;
	}

	@Override
	public String toString() {
		return "ZyPicture{" +
			"id=" + id +
			", originalName=" + originalName +
			", savePath=" + savePath +
			", saveName=" + saveName +
			", crtUser=" + crtUser +
			", crtTime=" + crtTime +
			"}";
	}
}
